<?
include('data/lib_f_db.inc.php');

/*
 *  Changes made here have also to be made in offices.php.
 *  I know, nasty programming but the server doesnt support
 *  custom include_dir settings yet.
 */
$DB_NAME = 'uccc_db';
$DB_USER = 'uccc';
$DB_PASSWORD = 'LSZfXYEBGV72F53X';

if ($_SERVER['SERVER_ADDR'] == '127.0.0.1') {
 $DB_USER = 'root';
 $DB_PASSWORD = 'c8h10n4o2';
}

if ($infDB = mysql_connect('localhost:3306',$DB_USER,$DB_PASSWORD)) mysql_select_db($DB_NAME,$infDB);
 
?>